.social-links a {
    margin-left: 10px;
    text-decoration: none;
    color: #333;
}

.pricing-section {
    text-align: center;
    padding: 40px 20px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sub-heading {
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.billing-toggle span {
    margin: 0 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--deep-blue);
}

input:checked + .slider:before {
    transform: translateX(14px);
}

.discount {
    color: var(--deep-blue);
    font-weight: bold;
}

#plan_type{
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#options{
    /* width:40%; */
    /* border: 2px solid black; */
    border-radius: 10px;
    /* background-color: hsl(0, 0%, 95%); */
    background-color: #f9f9f9;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.plan_btn{
    background-color: transparent;
    border: none;
    border-radius: 10px;
    /* background-color: hsl(0, 0%, 90%); */
    /* font-family: "Trajan", "Arial", "sans-serif"; */
    padding: .5rem;
    cursor: pointer;
    transition: .3s;
}

.active{
    background-color: hsl(0, 0%, 90%);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#AW{
    display: none;
}

#CD{
    display: none;
}

#TE{
    display: none;
}

#CSD{
    display: none;
}

#JF{
    display: none;
}

#CB{
    display: none;
}

.card {
    min-height: 25rem;
    width: 100%; /* Ensures full width within container */
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    max-width: 300px; /* Uniform width for all plans */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* border: 2px solid #000; Black border on hover */
    border: 2px solid var(--deep-blue);
}

.popular {
    background-color: #fff;
    /* border: 2px solid #000; */
    border: 2px solid var(--deep-blue);
    position: relative;
    color: black;
}

.popular li{
    color: black;
}

.popular button{
    background-color: #fff;
    /* border: 1px solid #000; */
    border: 1px solid var(--deep-blue);
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.popular button:hover{
    background-color: var(--deep-blue);
    color: #fff;
}

.popular-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--deep-blue);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.popular>.description {
    font-size: 14px;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.pricing-cards button {
    background-color: #fff;
    border: 1px solid var(--deep-blue);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pricing-cards button:hover {
    background-color: var(--deep-blue);
    color: #fff;
}

ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

ul li {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    position: relative;
}

ul li:before {
    content: '✔';
    color: #4CAF50;
    position: absolute;
    left: -20px;
    top: 0;
}

/* Mobile Filter Button Styles */
.mobile-filter-container {
    display: none;
    position: relative;
    margin: 20px 0;
    max-width: 200px; /* Reduced from 300px */
    margin-left: auto; /* Push to right side */
    margin-right: 20px; /* Add some right margin */
}

.mobile-filter-button {
    background: linear-gradient(135deg, var(--deep-blue), #2c3e50);
    color: white;
    padding: 10px 20px; /* Reduced padding */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px; /* Reduced gap */
    font-size: 14px; /* Smaller font size */
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.mobile-filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mobile-filter-button i {
    font-size: 14px; /* Smaller icon size */
    transition: transform 0.3s ease;
}

.mobile-filter-button.active i {
    transform: rotate(180deg);
}

.mobile-filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.mobile-filter-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-filter-option {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
    position: relative;
    overflow: hidden;
}

.mobile-filter-option:last-child {
    border-bottom: none;
}

.mobile-filter-option:hover {
    background-color: rgba(51, 153, 204, 0.05);
    padding-left: 25px;
}

.mobile-filter-option.active {
    background-color: rgba(51, 153, 204, 0.1);
    color: var(--deep-blue);
    font-weight: 500;
}

.mobile-filter-option.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--deep-blue);
}

/* Add a subtle animation for the dropdown items */
.mobile-filter-option {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add delay to each option for a cascade effect */
.mobile-filter-option:nth-child(1) { animation-delay: 0.05s; }
.mobile-filter-option:nth-child(2) { animation-delay: 0.1s; }
.mobile-filter-option:nth-child(3) { animation-delay: 0.15s; }
.mobile-filter-option:nth-child(4) { animation-delay: 0.2s; }
.mobile-filter-option:nth-child(5) { animation-delay: 0.25s; }
.mobile-filter-option:nth-child(6) { animation-delay: 0.3s; }
.mobile-filter-option:nth-child(7) { animation-delay: 0.35s; }


/* Media Queries for responsiveness */
@media (width > 2000px) {
    .pricing-section h2{
        font-size: 2rem;
    }
    .pricing-section p{
        font-size: 1.25rem;
    }
    .pricing-section button{
        font-size: 1.25rem;
    }
    .card{
        min-width: 20%;
    }
    .card h3{
        font-size: 1.5rem;
    }
    .card p{
        font-size: 1.15rem;
    }
    .popular>.description{
        font-size: 1.15rem;
    }
    .card ul li{
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 90%; /* Increase max-width for mobile devices */
    }

    h2, .sub-heading {
        padding: 0 10px; /* Add padding for better text alignment on small screens */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 24px; /* Decrease font size for smaller screens */
    }
    
    .sub-heading {
        font-size: 14px; /* Adjust sub-heading font size on small screens */
    }

    #options{
        display: none;
    }

    .mobile-filter-container {
        display: block; /* Show the mobile filter button */
    }
}
